package com.mryx.demo.service.serviceImpl;

import com.mryx.demo.mapper.AdminMapper;
import com.mryx.demo.pojo.Administrator;
import com.mryx.demo.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("adminService")
public class AdminServiceImpl implements AdminService {

    @Resource(name = "adminMapper")
    AdminMapper mapper;
    @Override
    public Administrator Login(String userName,String passWord) {
        return mapper.Login(userName,passWord);
    }
}
